<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div{
      width: 100%;
      height: 500px;
      margin: 0 auto;
      position: relative;
    }

    img{
      width: 300px;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: auto;
      border: 1px solid;
      border-radius: 10px;
      transition: all 1s;
      transform-origin: center bottom;
    }

    .img-1{
      z-index: 13;
    }
    .img-2{
      z-index: 12;
    }
    .img-3{
      z-index: 11;
    }
    .img-4{
      z-index: 10;
    }
    .img-5{
      z-index: 9;
    }
    .img-6{
      z-index: 8;
    }
    .img-7{
      z-index: 7;
    }
    .img-8{
      z-index: 6;
    }
    .img-9{
      z-index: 5;
    }
    .img-10{
      z-index: 4;
    }
    .img-11{
      z-index: 3;
    }
    .img-12{
      z-index: 2;
    }
    .img-13{
      z-index: 1;
    }

    div:hover .img-1{
      transform: rotate(60deg);
    }
    div:hover .img-2{
      transform: rotate(50deg);
    }
    div:hover .img-3{
      transform: rotate(40deg);
    }
    div:hover .img-4{
      transform: rotate(30deg);
    }
    div:hover .img-5{
      transform: rotate(20deg);
    }
    div:hover .img-6{
      transform: rotate(10deg);
    }
    div:hover .img-8{
      transform: rotate(-10deg);
    }
    div:hover .img-9{
      transform: rotate(-20deg);
    }
    div:hover .img-10{
      transform: rotate(-30deg);
    }
    div:hover .img-11{
      transform: rotate(-40deg);
    }
    div:hover .img-12{
      transform: rotate(-50deg);
    }
    div:hover .img-13{
      transform: rotate(-60deg);
    }
  </style>
</head>
<body>
  <div>
    <img class="img-1" src="./20231017210305.png" alt="">
    <img class="img-2" src="./20231017210408.png" alt="">
    <img class="img-3" src="./20231017210305.png" alt="">
    <img class="img-4" src="./20231017210408.png" alt="">
    <img class="img-5" src="./20231017210305.png" alt="">
    <img class="img-6" src="./20231017210408.png" alt="">
    <img class="img-7" src="./20231017210305.png" alt="">
    <img class="img-8" src="./20231017210408.png" alt="">
    <img class="img-9" src="./20231017210305.png" alt="">
    <img class="img-10" src="./20231017210408.png" alt="">
    <img class="img-11" src="./20231017210305.png" alt="">
    <img class="img-12" src="./20231017210408.png" alt="">
    <img class="img-13" src="./20231017210305.png" alt="">
  </div>
</body>
</html>